3.601 \(\int \cos ^{\frac{7}{2}}(c+d x) (a+b \sec (c+d x))^{3/2} (A+B \sec (c+d x)) \, dx\)
Optimal. Leaf size=342 \[ \frac{2 \left (a^2-b^2\right ) \left (25 a^2 A+21 a b B-6 A b^2\right ) \sqrt{\frac{a \cos (c+d x)+b}{a+b}} \text{EllipticF}\left (\frac{1}{2} (c+d x),\frac{2 a}{a+b}\right )}{105 a^2 d \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)}}+\frac{2 \left (25 a^2 A+42 a b B+3 A b^2\right ) \sin (c+d x) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)}}{105 a d}+\frac{2 \left (82 a^2 A b+63 a^3 B+21 a b^2 B-6 A b^3\right ) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)} E\left (\frac{1}{2} (c+d x)|\frac{2 a}{a+b}\right )}{105 a^2 d \sqrt{\frac{a \cos (c+d x)+b}{a+b}}}+\frac{2 (7 a B+8 A b) \sin (c+d x) \cos ^{\frac{3}{2}}(c+d x) \sqrt{a+b \sec (c+d x)}}{35 d}+\frac{2 a A \sin (c+d x) \cos ^{\frac{5}{2}}(c+d x) \sqrt{a+b \sec (c+d x)}}{7 d} \]
[Out]
(2*(a^2 - b^2)*(25*a^2*A - 6*A*b^2 + 21*a*b*B)*Sqrt[(b + a*Cos[c + d*x])/(a + b)]*EllipticF[(c + d*x)/2, (2*a)
/(a + b)])/(105*a^2*d*Sqrt[Cos[c + d*x]]*Sqrt[a + b*Sec[c + d*x]]) + (2*(82*a^2*A*b - 6*A*b^3 + 63*a^3*B + 21*
a*b^2*B)*Sqrt[Cos[c + d*x]]*EllipticE[(c + d*x)/2, (2*a)/(a + b)]*Sqrt[a + b*Sec[c + d*x]])/(105*a^2*d*Sqrt[(b
+ a*Cos[c + d*x])/(a + b)]) + (2*(25*a^2*A + 3*A*b^2 + 42*a*b*B)*Sqrt[Cos[c + d*x]]*Sqrt[a + b*Sec[c + d*x]]*
Sin[c + d*x])/(105*a*d) + (2*(8*A*b + 7*a*B)*Cos[c + d*x]^(3/2)*Sqrt[a + b*Sec[c + d*x]]*Sin[c + d*x])/(35*d)
+ (2*a*A*Cos[c + d*x]^(5/2)*Sqrt[a + b*Sec[c + d*x]]*Sin[c + d*x])/(7*d)
________________________________________________________________________________________
Rubi [A] time = 1.30429, antiderivative size = 342, normalized size of antiderivative
= 1., number of steps used = 11, number of rules used = 10, integrand size = 35, \(\frac{\text{number of rules}}{\text{integrand size}}\)
= 0.286, Rules used = {2955, 4025, 4104, 4035, 3856, 2655, 2653, 3858, 2663, 2661}
\[ \frac{2 \left (25 a^2 A+42 a b B+3 A b^2\right ) \sin (c+d x) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)}}{105 a d}+\frac{2 \left (a^2-b^2\right ) \left (25 a^2 A+21 a b B-6 A b^2\right ) \sqrt{\frac{a \cos (c+d x)+b}{a+b}} F\left (\frac{1}{2} (c+d x)|\frac{2 a}{a+b}\right )}{105 a^2 d \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)}}+\frac{2 \left (82 a^2 A b+63 a^3 B+21 a b^2 B-6 A b^3\right ) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)} E\left (\frac{1}{2} (c+d x)|\frac{2 a}{a+b}\right )}{105 a^2 d \sqrt{\frac{a \cos (c+d x)+b}{a+b}}}+\frac{2 (7 a B+8 A b) \sin (c+d x) \cos ^{\frac{3}{2}}(c+d x) \sqrt{a+b \sec (c+d x)}}{35 d}+\frac{2 a A \sin (c+d x) \cos ^{\frac{5}{2}}(c+d x) \sqrt{a+b \sec (c+d x)}}{7 d} \]
Antiderivative was successfully verified.
[In]
Int[Cos[c + d*x]^(7/2)*(a + b*Sec[c + d*x])^(3/2)*(A + B*Sec[c + d*x]),x]
[Out]
(2*(a^2 - b^2)*(25*a^2*A - 6*A*b^2 + 21*a*b*B)*Sqrt[(b + a*Cos[c + d*x])/(a + b)]*EllipticF[(c + d*x)/2, (2*a)
/(a + b)])/(105*a^2*d*Sqrt[Cos[c + d*x]]*Sqrt[a + b*Sec[c + d*x]]) + (2*(82*a^2*A*b - 6*A*b^3 + 63*a^3*B + 21*
a*b^2*B)*Sqrt[Cos[c + d*x]]*EllipticE[(c + d*x)/2, (2*a)/(a + b)]*Sqrt[a + b*Sec[c + d*x]])/(105*a^2*d*Sqrt[(b
+ a*Cos[c + d*x])/(a + b)]) + (2*(25*a^2*A + 3*A*b^2 + 42*a*b*B)*Sqrt[Cos[c + d*x]]*Sqrt[a + b*Sec[c + d*x]]*
Sin[c + d*x])/(105*a*d) + (2*(8*A*b + 7*a*B)*Cos[c + d*x]^(3/2)*Sqrt[a + b*Sec[c + d*x]]*Sin[c + d*x])/(35*d)
+ (2*a*A*Cos[c + d*x]^(5/2)*Sqrt[a + b*Sec[c + d*x]]*Sin[c + d*x])/(7*d)
Rule 2955
Int[((a_.) + csc[(e_.) + (f_.)*(x_)]*(b_.))^(m_.)*(csc[(e_.) + (f_.)*(x_)]*(d_.) + (c_))^(n_.)*((g_.)*sin[(e_.
) + (f_.)*(x_)])^(p_.), x_Symbol] :> Dist[(g*Csc[e + f*x])^p*(g*Sin[e + f*x])^p, Int[((a + b*Csc[e + f*x])^m*(
c + d*Csc[e + f*x])^n)/(g*Csc[e + f*x])^p, x], x] /; FreeQ[{a, b, c, d, e, f, g, m, n, p}, x] && NeQ[b*c - a*d
, 0] && !IntegerQ[p] && !(IntegerQ[m] && IntegerQ[n])
Rule 4025
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_)*(csc[(e_.) + (f_.)*(x_)]*
(B_.) + (A_)), x_Symbol] :> Simp[(a*A*Cot[e + f*x]*(a + b*Csc[e + f*x])^(m - 1)*(d*Csc[e + f*x])^n)/(f*n), x]
+ Dist[1/(d*n), Int[(a + b*Csc[e + f*x])^(m - 2)*(d*Csc[e + f*x])^(n + 1)*Simp[a*(a*B*n - A*b*(m - n - 1)) + (
2*a*b*B*n + A*(b^2*n + a^2*(1 + n)))*Csc[e + f*x] + b*(b*B*n + a*A*(m + n))*Csc[e + f*x]^2, x], x], x] /; Free
Q[{a, b, d, e, f, A, B}, x] && NeQ[A*b - a*B, 0] && NeQ[a^2 - b^2, 0] && GtQ[m, 1] && LeQ[n, -1]
Rule 4104
Int[((A_.) + csc[(e_.) + (f_.)*(x_)]*(B_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.))*(csc[(e_.) + (f_.)*(x_)]*(d_.))^
(n_)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_), x_Symbol] :> Simp[(A*Cot[e + f*x]*(a + b*Csc[e + f*x])^(m +
1)*(d*Csc[e + f*x])^n)/(a*f*n), x] + Dist[1/(a*d*n), Int[(a + b*Csc[e + f*x])^m*(d*Csc[e + f*x])^(n + 1)*Simp[
a*B*n - A*b*(m + n + 1) + a*(A + A*n + C*n)*Csc[e + f*x] + A*b*(m + n + 2)*Csc[e + f*x]^2, x], x], x] /; FreeQ
[{a, b, d, e, f, A, B, C, m}, x] && NeQ[a^2 - b^2, 0] && LeQ[n, -1]
Rule 4035
Int[(csc[(e_.) + (f_.)*(x_)]*(B_.) + (A_))/(Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.)]*Sqrt[csc[(e_.) + (f_.)*(x_)]*(
b_.) + (a_)]), x_Symbol] :> Dist[A/a, Int[Sqrt[a + b*Csc[e + f*x]]/Sqrt[d*Csc[e + f*x]], x], x] - Dist[(A*b -
a*B)/(a*d), Int[Sqrt[d*Csc[e + f*x]]/Sqrt[a + b*Csc[e + f*x]], x], x] /; FreeQ[{a, b, d, e, f, A, B}, x] && Ne
Q[A*b - a*B, 0] && NeQ[a^2 - b^2, 0]
Rule 3856
Int[Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)]/Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.)], x_Symbol] :> Dist[Sqrt[a +
b*Csc[e + f*x]]/(Sqrt[d*Csc[e + f*x]]*Sqrt[b + a*Sin[e + f*x]]), Int[Sqrt[b + a*Sin[e + f*x]], x], x] /; Free
Q[{a, b, d, e, f}, x] && NeQ[a^2 - b^2, 0]
Rule 2655
Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Dist[Sqrt[a + b*Sin[c + d*x]]/Sqrt[(a + b*Sin[c +
d*x])/(a + b)], Int[Sqrt[a/(a + b) + (b*Sin[c + d*x])/(a + b)], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 -
b^2, 0] && !GtQ[a + b, 0]
Rule 2653
Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*Sqrt[a + b]*EllipticE[(1*(c - Pi/2 + d*x)
)/2, (2*b)/(a + b)])/d, x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]
Rule 3858
Int[Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.)]/Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Dist[(Sqrt[d*
Csc[e + f*x]]*Sqrt[b + a*Sin[e + f*x]])/Sqrt[a + b*Csc[e + f*x]], Int[1/Sqrt[b + a*Sin[e + f*x]], x], x] /; Fr
eeQ[{a, b, d, e, f}, x] && NeQ[a^2 - b^2, 0]
Rule 2663
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Dist[Sqrt[(a + b*Sin[c + d*x])/(a + b)]/Sqrt[a
+ b*Sin[c + d*x]], Int[1/Sqrt[a/(a + b) + (b*Sin[c + d*x])/(a + b)], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a
^2 - b^2, 0] && !GtQ[a + b, 0]
Rule 2661
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticF[(1*(c - Pi/2 + d*x))/2, (2*b)
/(a + b)])/(d*Sqrt[a + b]), x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]
Rubi steps
\begin{align*} \int \cos ^{\frac{7}{2}}(c+d x) (a+b \sec (c+d x))^{3/2} (A+B \sec (c+d x)) \, dx &=\left (\sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)}\right ) \int \frac{(a+b \sec (c+d x))^{3/2} (A+B \sec (c+d x))}{\sec ^{\frac{7}{2}}(c+d x)} \, dx\\ &=\frac{2 a A \cos ^{\frac{5}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{7 d}-\frac{1}{7} \left (2 \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)}\right ) \int \frac{-\frac{1}{2} a (8 A b+7 a B)-\frac{1}{2} \left (5 a^2 A+7 A b^2+14 a b B\right ) \sec (c+d x)-\frac{1}{2} b (4 a A+7 b B) \sec ^2(c+d x)}{\sec ^{\frac{5}{2}}(c+d x) \sqrt{a+b \sec (c+d x)}} \, dx\\ &=\frac{2 (8 A b+7 a B) \cos ^{\frac{3}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{35 d}+\frac{2 a A \cos ^{\frac{5}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{7 d}+\frac{\left (4 \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)}\right ) \int \frac{\frac{1}{4} a \left (25 a^2 A+3 A b^2+42 a b B\right )+\frac{1}{4} a \left (44 a A b+21 a^2 B+35 b^2 B\right ) \sec (c+d x)+\frac{1}{2} a b (8 A b+7 a B) \sec ^2(c+d x)}{\sec ^{\frac{3}{2}}(c+d x) \sqrt{a+b \sec (c+d x)}} \, dx}{35 a}\\ &=\frac{2 \left (25 a^2 A+3 A b^2+42 a b B\right ) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{105 a d}+\frac{2 (8 A b+7 a B) \cos ^{\frac{3}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{35 d}+\frac{2 a A \cos ^{\frac{5}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{7 d}-\frac{\left (8 \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)}\right ) \int \frac{-\frac{1}{8} a \left (82 a^2 A b-6 A b^3+63 a^3 B+21 a b^2 B\right )-\frac{1}{8} a^2 \left (25 a^2 A+51 A b^2+84 a b B\right ) \sec (c+d x)}{\sqrt{\sec (c+d x)} \sqrt{a+b \sec (c+d x)}} \, dx}{105 a^2}\\ &=\frac{2 \left (25 a^2 A+3 A b^2+42 a b B\right ) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{105 a d}+\frac{2 (8 A b+7 a B) \cos ^{\frac{3}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{35 d}+\frac{2 a A \cos ^{\frac{5}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{7 d}+\frac{\left (\left (a^2-b^2\right ) \left (25 a^2 A-6 A b^2+21 a b B\right ) \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)}\right ) \int \frac{\sqrt{\sec (c+d x)}}{\sqrt{a+b \sec (c+d x)}} \, dx}{105 a^2}-\frac{\left (\left (-82 a^2 A b+6 A b^3-63 a^3 B-21 a b^2 B\right ) \sqrt{\cos (c+d x)} \sqrt{\sec (c+d x)}\right ) \int \frac{\sqrt{a+b \sec (c+d x)}}{\sqrt{\sec (c+d x)}} \, dx}{105 a^2}\\ &=\frac{2 \left (25 a^2 A+3 A b^2+42 a b B\right ) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{105 a d}+\frac{2 (8 A b+7 a B) \cos ^{\frac{3}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{35 d}+\frac{2 a A \cos ^{\frac{5}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{7 d}+\frac{\left (\left (a^2-b^2\right ) \left (25 a^2 A-6 A b^2+21 a b B\right ) \sqrt{b+a \cos (c+d x)}\right ) \int \frac{1}{\sqrt{b+a \cos (c+d x)}} \, dx}{105 a^2 \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)}}-\frac{\left (\left (-82 a^2 A b+6 A b^3-63 a^3 B-21 a b^2 B\right ) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)}\right ) \int \sqrt{b+a \cos (c+d x)} \, dx}{105 a^2 \sqrt{b+a \cos (c+d x)}}\\ &=\frac{2 \left (25 a^2 A+3 A b^2+42 a b B\right ) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{105 a d}+\frac{2 (8 A b+7 a B) \cos ^{\frac{3}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{35 d}+\frac{2 a A \cos ^{\frac{5}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{7 d}+\frac{\left (\left (a^2-b^2\right ) \left (25 a^2 A-6 A b^2+21 a b B\right ) \sqrt{\frac{b+a \cos (c+d x)}{a+b}}\right ) \int \frac{1}{\sqrt{\frac{b}{a+b}+\frac{a \cos (c+d x)}{a+b}}} \, dx}{105 a^2 \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)}}-\frac{\left (\left (-82 a^2 A b+6 A b^3-63 a^3 B-21 a b^2 B\right ) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)}\right ) \int \sqrt{\frac{b}{a+b}+\frac{a \cos (c+d x)}{a+b}} \, dx}{105 a^2 \sqrt{\frac{b+a \cos (c+d x)}{a+b}}}\\ &=\frac{2 \left (a^2-b^2\right ) \left (25 a^2 A-6 A b^2+21 a b B\right ) \sqrt{\frac{b+a \cos (c+d x)}{a+b}} F\left (\frac{1}{2} (c+d x)|\frac{2 a}{a+b}\right )}{105 a^2 d \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)}}+\frac{2 \left (82 a^2 A b-6 A b^3+63 a^3 B+21 a b^2 B\right ) \sqrt{\cos (c+d x)} E\left (\frac{1}{2} (c+d x)|\frac{2 a}{a+b}\right ) \sqrt{a+b \sec (c+d x)}}{105 a^2 d \sqrt{\frac{b+a \cos (c+d x)}{a+b}}}+\frac{2 \left (25 a^2 A+3 A b^2+42 a b B\right ) \sqrt{\cos (c+d x)} \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{105 a d}+\frac{2 (8 A b+7 a B) \cos ^{\frac{3}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{35 d}+\frac{2 a A \cos ^{\frac{5}{2}}(c+d x) \sqrt{a+b \sec (c+d x)} \sin (c+d x)}{7 d}\\ \end{align*}
Mathematica [C] time = 16.9422, size = 466, normalized size = 1.36 \[ \frac{\cos ^{\frac{3}{2}}(c+d x) (a+b \sec (c+d x))^{3/2} \left (\frac{\left (115 a^2 A+168 a b B+12 A b^2\right ) \sin (c+d x)}{210 a}+\frac{1}{35} (7 a B+8 A b) \sin (2 (c+d x))+\frac{1}{14} a A \sin (3 (c+d x))\right )}{d (a \cos (c+d x)+b)}-\frac{2 \cos ^{\frac{3}{2}}(c+d x) \left (\cos ^2\left (\frac{1}{2} (c+d x)\right ) \sec (c+d x)\right )^{3/2} (a+b \sec (c+d x))^{3/2} \left (i a (a+b) \left (a^2 (25 A+63 B)+3 a b (19 A+7 B)-6 A b^2\right ) \sec ^2\left (\frac{1}{2} (c+d x)\right ) \sqrt{\frac{\sec ^2\left (\frac{1}{2} (c+d x)\right ) (a \cos (c+d x)+b)}{a+b}} \text{EllipticF}\left (i \sinh ^{-1}\left (\tan \left (\frac{1}{2} (c+d x)\right )\right ),\frac{b-a}{a+b}\right )-\left (82 a^2 A b+63 a^3 B+21 a b^2 B-6 A b^3\right ) \tan \left (\frac{1}{2} (c+d x)\right ) \sec ^2\left (\frac{1}{2} (c+d x)\right )^{3/2} (a \cos (c+d x)+b)-i (a+b) \left (82 a^2 A b+63 a^3 B+21 a b^2 B-6 A b^3\right ) \sec ^2\left (\frac{1}{2} (c+d x)\right ) \sqrt{\frac{\sec ^2\left (\frac{1}{2} (c+d x)\right ) (a \cos (c+d x)+b)}{a+b}} E\left (i \sinh ^{-1}\left (\tan \left (\frac{1}{2} (c+d x)\right )\right )|\frac{b-a}{a+b}\right )\right )}{105 a^2 d \sec ^{\frac{3}{2}}(c+d x) (a \cos (c+d x)+b)^2} \]
Warning: Unable to verify antiderivative.
[In]
Integrate[Cos[c + d*x]^(7/2)*(a + b*Sec[c + d*x])^(3/2)*(A + B*Sec[c + d*x]),x]
[Out]
(Cos[c + d*x]^(3/2)*(a + b*Sec[c + d*x])^(3/2)*(((115*a^2*A + 12*A*b^2 + 168*a*b*B)*Sin[c + d*x])/(210*a) + ((
8*A*b + 7*a*B)*Sin[2*(c + d*x)])/35 + (a*A*Sin[3*(c + d*x)])/14))/(d*(b + a*Cos[c + d*x])) - (2*Cos[c + d*x]^(
3/2)*(Cos[(c + d*x)/2]^2*Sec[c + d*x])^(3/2)*(a + b*Sec[c + d*x])^(3/2)*((-I)*(a + b)*(82*a^2*A*b - 6*A*b^3 +
63*a^3*B + 21*a*b^2*B)*EllipticE[I*ArcSinh[Tan[(c + d*x)/2]], (-a + b)/(a + b)]*Sec[(c + d*x)/2]^2*Sqrt[((b +
a*Cos[c + d*x])*Sec[(c + d*x)/2]^2)/(a + b)] + I*a*(a + b)*(-6*A*b^2 + 3*a*b*(19*A + 7*B) + a^2*(25*A + 63*B))
*EllipticF[I*ArcSinh[Tan[(c + d*x)/2]], (-a + b)/(a + b)]*Sec[(c + d*x)/2]^2*Sqrt[((b + a*Cos[c + d*x])*Sec[(c
+ d*x)/2]^2)/(a + b)] - (82*a^2*A*b - 6*A*b^3 + 63*a^3*B + 21*a*b^2*B)*(b + a*Cos[c + d*x])*(Sec[(c + d*x)/2]
^2)^(3/2)*Tan[(c + d*x)/2]))/(105*a^2*d*(b + a*Cos[c + d*x])^2*Sec[c + d*x]^(3/2))
________________________________________________________________________________________
Maple [B] time = 0.493, size = 2326, normalized size = 6.8 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(cos(d*x+c)^(7/2)*(a+b*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)),x)
[Out]
2/105/d*((b+a*cos(d*x+c))/cos(d*x+c))^(1/2)*cos(d*x+c)^(1/2)*(-1+cos(d*x+c))*(cos(d*x+c)+1)*(82*A*sin(d*x+c)*E
llipticE((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d
*x+c)+1))^(1/2)*a^3*b+63*B*cos(d*x+c)^2*((a-b)/(a+b))^(1/2)*a^2*b^2*(1/(cos(d*x+c)+1))^(1/2)-82*A*cos(d*x+c)*(
(a-b)/(a+b))^(1/2)*a^3*b*(1/(cos(d*x+c)+1))^(1/2)+55*A*cos(d*x+c)*((a-b)/(a+b))^(1/2)*a^2*b^2*(1/(cos(d*x+c)+1
))^(1/2)+6*A*cos(d*x+c)*((a-b)/(a+b))^(1/2)*a*b^3*(1/(cos(d*x+c)+1))^(1/2)+15*A*cos(d*x+c)^5*((a-b)/(a+b))^(1/
2)*a^4*(1/(cos(d*x+c)+1))^(1/2)+10*A*cos(d*x+c)^3*((a-b)/(a+b))^(1/2)*a^4*(1/(cos(d*x+c)+1))^(1/2)-25*A*cos(d*
x+c)*((a-b)/(a+b))^(1/2)*a^4*(1/(cos(d*x+c)+1))^(1/2)+21*B*cos(d*x+c)^4*((a-b)/(a+b))^(1/2)*a^4*(1/(cos(d*x+c)
+1))^(1/2)+42*B*cos(d*x+c)^2*((a-b)/(a+b))^(1/2)*a^4*(1/(cos(d*x+c)+1))^(1/2)-6*A*cos(d*x+c)*((a-b)/(a+b))^(1/
2)*b^4*(1/(cos(d*x+c)+1))^(1/2)+6*A*((a-b)/(a+b))^(1/2)*b^4*(1/(cos(d*x+c)+1))^(1/2)-21*B*cos(d*x+c)*((a-b)/(a
+b))^(1/2)*a^2*b^2*(1/(cos(d*x+c)+1))^(1/2)+21*B*cos(d*x+c)*((a-b)/(a+b))^(1/2)*a*b^3*(1/(cos(d*x+c)+1))^(1/2)
+84*B*sin(d*x+c)*EllipticF((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*(1/(a+b)*(b+a*
cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*a^3*b-21*B*sin(d*x+c)*EllipticF((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+
c),(-(a+b)/(a-b))^(1/2))*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*a^2*b^2-63*B*sin(d*x+c)*(1/(a+b)*(b+a
*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*EllipticE((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/
2))*a^3*b+21*B*sin(d*x+c)*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*EllipticE((-1+cos(d*x+c))*((a-b)/(a+
b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*a^2*b^2-21*B*sin(d*x+c)*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(
1/2)*EllipticE((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*a*b^3+27*A*cos(d*x+c)^3*((
a-b)/(a+b))^(1/2)*a^2*b^2*(1/(cos(d*x+c)+1))^(1/2)+63*B*cos(d*x+c)^3*((a-b)/(a+b))^(1/2)*a^3*b*(1/(cos(d*x+c)+
1))^(1/2)+68*A*cos(d*x+c)^2*((a-b)/(a+b))^(1/2)*a^3*b*(1/(cos(d*x+c)+1))^(1/2)-3*A*cos(d*x+c)^2*((a-b)/(a+b))^
(1/2)*a*b^3*(1/(cos(d*x+c)+1))^(1/2)-82*A*sin(d*x+c)*EllipticE((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),
(-(a+b)/(a-b))^(1/2))*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*a^2*b^2-6*A*sin(d*x+c)*EllipticE((-1+cos
(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*
a*b^3-82*A*sin(d*x+c)*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*EllipticF((-1+cos(d*x+c))*((a-b)/(a+b))^
(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*a^3*b+51*A*sin(d*x+c)*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*E
llipticF((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*a^2*b^2+6*A*sin(d*x+c)*(1/(a+b)*
(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*EllipticF((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))
^(1/2))*a*b^3+39*A*cos(d*x+c)^4*((a-b)/(a+b))^(1/2)*a^3*b*(1/(cos(d*x+c)+1))^(1/2)-63*B*cos(d*x+c)*((a-b)/(a+b
))^(1/2)*a^4*(1/(cos(d*x+c)+1))^(1/2)-25*A*((a-b)/(a+b))^(1/2)*a^3*b*(1/(cos(d*x+c)+1))^(1/2)-82*A*((a-b)/(a+b
))^(1/2)*a^2*b^2*(1/(cos(d*x+c)+1))^(1/2)-3*A*((a-b)/(a+b))^(1/2)*a*b^3*(1/(cos(d*x+c)+1))^(1/2)-63*B*((a-b)/(
a+b))^(1/2)*a^3*b*(1/(cos(d*x+c)+1))^(1/2)-42*B*((a-b)/(a+b))^(1/2)*a^2*b^2*(1/(cos(d*x+c)+1))^(1/2)-21*B*((a-
b)/(a+b))^(1/2)*a*b^3*(1/(cos(d*x+c)+1))^(1/2)-63*B*sin(d*x+c)*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)
*EllipticF((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*a^4+63*B*sin(d*x+c)*EllipticE(
(-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))
^(1/2)*a^4+6*A*sin(d*x+c)*EllipticE((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*(1/(a
+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)*b^4+25*A*sin(d*x+c)*(1/(a+b)*(b+a*cos(d*x+c))/(cos(d*x+c)+1))^(1/2)
*EllipticF((-1+cos(d*x+c))*((a-b)/(a+b))^(1/2)/sin(d*x+c),(-(a+b)/(a-b))^(1/2))*a^4)/a^2/((a-b)/(a+b))^(1/2)/(
b+a*cos(d*x+c))/(1/(cos(d*x+c)+1))^(1/2)/sin(d*x+c)^3
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (B \sec \left (d x + c\right ) + A\right )}{\left (b \sec \left (d x + c\right ) + a\right )}^{\frac{3}{2}} \cos \left (d x + c\right )^{\frac{7}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^(7/2)*(a+b*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)),x, algorithm="maxima")
[Out]
integrate((B*sec(d*x + c) + A)*(b*sec(d*x + c) + a)^(3/2)*cos(d*x + c)^(7/2), x)
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (B b \cos \left (d x + c\right )^{3} \sec \left (d x + c\right )^{2} + A a \cos \left (d x + c\right )^{3} +{\left (B a + A b\right )} \cos \left (d x + c\right )^{3} \sec \left (d x + c\right )\right )} \sqrt{b \sec \left (d x + c\right ) + a} \sqrt{\cos \left (d x + c\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^(7/2)*(a+b*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)),x, algorithm="fricas")
[Out]
integral((B*b*cos(d*x + c)^3*sec(d*x + c)^2 + A*a*cos(d*x + c)^3 + (B*a + A*b)*cos(d*x + c)^3*sec(d*x + c))*sq
rt(b*sec(d*x + c) + a)*sqrt(cos(d*x + c)), x)
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)**(7/2)*(a+b*sec(d*x+c))**(3/2)*(A+B*sec(d*x+c)),x)
[Out]
Timed out
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (B \sec \left (d x + c\right ) + A\right )}{\left (b \sec \left (d x + c\right ) + a\right )}^{\frac{3}{2}} \cos \left (d x + c\right )^{\frac{7}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^(7/2)*(a+b*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)),x, algorithm="giac")
[Out]
integrate((B*sec(d*x + c) + A)*(b*sec(d*x + c) + a)^(3/2)*cos(d*x + c)^(7/2), x)